package com.tyk.bookstore.front.product.model.vo;

import com.tyk.bookstore.front.common.core.model.vo.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author tyk
 * @description 书籍点赞
 */
@Data
@Schema(name = "BookPraisePageVo", description = "书籍点赞")
public class BookPraisePageVo extends PageVo<BookPraisePageVo.BookPraise> {

    @Data
    @Schema(name = "BookPraise", description = "书籍点赞")
    public static class BookPraise implements Serializable {

        @Serial
        private static final long serialVersionUID = 1L;

        @Schema(description = "书籍ID")
        private Long bookId;

        @Schema(description = "会员ID")
        private Integer memberId;

    }
}
